package com.dk.mapper;

import com.dk.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    int checkUser(String id);
    User queryUserById(String id);
    void saveUser(@Param("user") User user);
    void updateUser(@Param("user") User user);
    void deleteUser(String id);

}
